<template>
  <div>
    <h4>肌张力评定</h4>
    <el-row type="flex" justify="space-between">
      <el-col>
    <span>左上肢</span>
      </el-col>
      <el-col>
        <el-radio-group v-model="pgForm.jzlpdxf_left_shang_radio">
          <el-radio label="评估"></el-radio>
          <el-radio label="不评估"></el-radio>
        </el-radio-group>
      </el-col>
      <el-col>
        <span>肩 </span>
        <el-select v-model="pgForm.jzlpdxf_left_jian">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_jian" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>肘 </span>
        <el-select v-model="pgForm.jzlpdxf_left_zhou">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_zhou" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>腕 </span>
        <el-select v-model="pgForm.jzlpdxf_left_wan">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_wan" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>手 </span>
        <el-select v-model="pgForm.jzlpdxf_left_shou">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_shou" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
    <span>左下肢</span>
      </el-col>
      <el-col>
        <el-radio-group v-model="pgForm.jzlpdxf_left_xia_radio">
          <el-radio label="评估"></el-radio>
          <el-radio label="不评估"></el-radio>
        </el-radio-group>
      </el-col>
      <el-col>
        <span>髋 </span>
        <el-select v-model="pgForm.jzlpdxf_left_kuan">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_kuan" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>踝 </span>
        <el-select v-model="pgForm.jzlpdxf_left_huai">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_huai" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>膝 </span>
        <el-select v-model="pgForm.jzlpdxf_left_xi">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_xi" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>足 </span>
        <el-select v-model="pgForm.jzlpdxf_left_zu">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_left_zu" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
    <span>右上肢</span>
      </el-col>
      <el-col>
        <el-radio-group v-model="pgForm.jzlpdxf_right_shang_radio">
          <el-radio label="评估"></el-radio>
          <el-radio label="不评估"></el-radio>
        </el-radio-group>
      </el-col>
      <el-col>
        <span>肩 </span>
        <el-select v-model="pgForm.jzlpdxf_right_jian">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_jian" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>肘 </span>
        <el-select v-model="pgForm.jzlpdxf_right_zhou">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_zhou" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>腕 </span>
        <el-select v-model="pgForm.jzlpdxf_right_wan">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_wan" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>手 </span>
        <el-select v-model="pgForm.jzlpdxf_right_shou">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_shou" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
    <span>右下肢</span>
      </el-col>
      <el-col>
        <el-radio-group v-model="pgForm.jzlpdxf_right_xia_radio">
          <el-radio label="评估"></el-radio>
          <el-radio label="不评估"></el-radio>
        </el-radio-group>
      </el-col>
      <el-col>
        <span>髋 </span>
        <el-select v-model="pgForm.jzlpdxf_right_kuan">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_kuan" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>踝 </span>
        <el-select v-model="pgForm.jzlpdxf_right_huai">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_huai" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>膝 </span>
        <el-select v-model="pgForm.jzlpdxf_right_xi">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_xi" style="float: right; width: 75%"></el-input>
      </el-col>
      <el-col>
        <span>足 </span>
        <el-select v-model="pgForm.jzlpdxf_right_zu">
          <el-option v-for="item in jzlpdxf" :key=item.val :label=item.val :value=item.text></el-option>
        </el-select>
        <el-input v-model="pgForm.jzlpdxf_right_zu" style="float: right; width: 75%"></el-input>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "xfzzkfpgb_jzlpdxf",
  title: "肌张力评定",
  created() {
    if (this.istrans) {
      this.pgForm = this.fromdata
    }
  },
  props: {
    fromdata: {},
    istrans: false,
  },
  data() {
    return {
      //肌张力评定
      jzlpdxf: [{"val":"0","text":"无肌张力升高"},
        {"val":"I","text":"肌张力稍高，活动肢体时有卡住感（后25％）"},
        {"val":"I+","text":" 肌张力稍高，活动肢体时有卡住感（后50％）"},
        {"val":"II","text":"肌张力明显升高，被动活动肢体容易（50％）"},
        {"val":"III","text":"肌张力显著升高，被动活动困难"},
        {"val":"IV","text":"受累肢体僵硬于屈曲或伸展位（外展或内收位）"}],
      pgForm: {
        //肌张力评定
        jzlpdxf_left_shang_radio: '',
        jzlpdxf_left_jian: '',
        jzlpdxf_left_zhou: '',
        jzlpdxf_left_wan: '',
        jzlpdxf_left_shou: '',
        jzlpdxf_left_xia_radio: '',
        jzlpdxf_left_kuan: '',
        jzlpdxf_left_huai: '',
        jzlpdxf_left_xi: '',
        jzlpdxf_left_zu: '',
        jzlpdxf_right_shang_radio: '',
        jzlpdxf_right_jian: '',
        jzlpdxf_right_zhou: '',
        jzlpdxf_right_wan: '',
        jzlpdxf_right_shou: '',
        jzlpdxf_right_xia_radio: '',
        jzlpdxf_right_kuan: '',
        jzlpdxf_right_xi: '',
        jzlpdxf_right_huai: '',
        jzlpdxf_right_zu: '',
      },
    }
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}

.el-radio-group{
  padding: 10px 20px;
}


</style>
